package cloud.maque.module.system.service;

import cloud.maque.module.system.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RoleService extends IService<SysRole> {

    List<SysRole> GetList(SysRole data);

    SysRole SaveRole(SysRole data);

    Boolean DeleteRole(String roleId);

    SysRole EditStatus(SysRole data);

    SysRole GetByKey(String key);
}
